#pragma once
// CGridHeader
#include "GridHeaderItem.h"
class CGridHeader : public CWnd
{
	friend class CManGrid;
	friend class CGridListCtrl;
	friend class CGridListDraw;
	DECLARE_DYNAMIC(CGridHeader)

public:
	CGridHeader();
	virtual ~CGridHeader();
	int GetHeaderWidth();
protected:
	virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
	vector<CGridHeaderItem *>  nListHeader;
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};


